Class symantec.itools.awt.shape.HorizontalLine
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class symantec.itools.awt.shape.HorizontalLine

Object
   |
   +----Component
           |
           +----Shape
                   |
                   +----Rect
                           |
                           +----symantec.itools.awt.shape.HorizontalLine

public class HorizontalLine
extends Rect
This is a horizontal line component.

Version:
1.2, October 1, 1998
Author:
Symantec

Constructor Index

 o symantec.itools.awt.shape.HorizontalLine()
Constructs a default HorizontalLine.

Method Index

 o getMinimumSize()
Returns the minimum dimensions to properly display this component.
 o getPreferredSize()
Returns the recommended dimensions to properly display this component.
 o reshape(int, int, int, int)
Moves and/or resizes this component.
 o setBevelStyle(int)
Sets the border style of the shape.

Constructors

 o HorizontalLine
public HorizontalLine()
Constructs a default HorizontalLine. The line height is 2.

Methods

 o getMinimumSize
public java.awt.Dimension getMinimumSize()
Returns the minimum dimensions to properly display this component. This is a standard Java AWT method which gets called to determine the minimum size of this component.

Overrides:
getMinimumSize in class Shape
See Also:
getPreferredSize
 o getPreferredSize
public java.awt.Dimension getPreferredSize()
Returns the recommended dimensions to properly display this component. This is a standard Java AWT method which gets called to determine the recommended size of this component.

Overrides:
getPreferredSize in class Shape
See Also:
minimumSize
 o reshape
public void reshape(int x,
                    int y,
                    int width,
                    int height)
Moves and/or resizes this component. This is a standard Java AWT method which gets called to move and/or resize this component. Components that are in containers with layout managers should not call this method, but rely on the layout manager instead.

Parameters:
x - horizontal position in the parent's coordinate space
y - vertical position in the parent's coordinate space
width - the new width
height - the new height
Overrides:
reshape in class Shape
 o setBevelStyle
public void setBevelStyle(int s) throws PropertyVetoException
Sets the border style of the shape.

Throws: PropertyVetoException
if the specified property value is unacceptable
Overrides:
setBevelStyle in class Shape
See Also:
getBevelStyle

All Packages  Class Hierarchy  This Package  Previous  Next  Index